<template>
  <div>
    <slot></slot>
  </div>
</template>

<script setup lang="tsx">
let x!: number;
initialize();
// Variable 'x' is used before being assigned.(2454)
console.log(2 * x); // Error

function initialize() {
  x = 10;
}
</script>

<style lang="scss" scoped></style>
